-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: contributing: fix asv usage instructions #13794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
By default asv continuous uses head^ as the commit to compare to, whereas for PRs you usually want to compare to master.
Current coverage is 85.33% (diff: 100%)@@ master #13794 diff @@
==========================================
Files 141 141
Lines 50711 50711
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 43275 43275
Misses 7436 7436
Partials 0 0
|
|
||
This command uses ``conda`` by default for creating the benchmark | ||
You can replace ``HEAD`` with the name of the branch you are working on. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'You can' -> but it is not needed?
@pv Thanks a lot for clarifying this! |
Yes, you can replace HEAD with a branch name, but is not necessary.
|
@pv I have actually another questions (was using the asv benchmark suite the last days): is there a way to run the suite for a specific commit? As with |
asv run commit^! (git single-commit range spec)
|
@pv Aha, thanks! |
The current asv usage instructions in contributing.rst may be unclear for PRs with multiple commits.
By default
asv continuous
uses head^ as the commit to compare to, whereas for PRs you usually want to compare to master. Write the instructions so that the comparison point is clear.